<h1>Add Article</h1>
<br>
<b>{{user.username}}</b>
{% if user.is_authenticated %}
<a href=/accounts/logout/>logout</a>
{% else %}
<a href=/accounts/login/>login</a>
{% endif %}
<br>
<form action="/add_article/publish" method="post">{% csrf_token %}
{{ form.as_p }}
<input type="submit" value="Publish Article" />
</form>


